import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

// 导入推荐模块
import recommendModule from './recommend'
// 导入作品模块
import worksModule from './works'

//导入用户模块
import userModule from './user'

import searchModule from './search'

export default new Vuex.Store({

  modules: {
    recommendModule,
    worksModule,
    userModule,
    searchModule
  }
})
